Flink
Section: Oct. 7, 1991
(2)
Updated: MiNT Programmer's Manual
Index
Return to Main Contents
NAME
Flink - create a new link to a file
SYNOPSIS
LONG Flink( char *oldname, char *newname );
DESCRIPTION
Flink
creates a new name (a "hard link") for the file currently named
oldname .
If the
Flink
call is successful, then after the call the file may be referred to by
either name, and a call to
Fdelete
on either name will not affect access to the file through the other
name.
oldname
and
newname
must both refer to files on the same physical device. Note also that not
all file systems allow links.
RETURNS
0 on success
EXDEV if
oldname
and
newname
refer to files on different physical devices
EINVFN if the file system does not allow hard links
EFILNF if the file named
oldname
does not currently exist
SEE ALSO
Frename(2),
Fsymlink(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 16:01:47 GMT, March 03, 2023